<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
// for...of
var arr = [10, 20, 22, 37, 47, 13, 17, 19, 29, 39];
// for...of 只能读取数组中元素, 不能去修改数组中的元素
for(var x of arr){
    console.log(x);
}
console.log(arr);
</script>
</body>
</html>